/**
 * 
 */
package cc.dogtailflower.test.dao;

import java.util.List;

import cc.dogtailflower.framework.annotation.Dao;
import cc.dogtailflower.framework.basedao.BaseDao;
import cc.dogtailflower.test.dmo.UserDmo;

/**
 * @author cc
 *
 */
@Dao
public class UserDao{

	//获取所有User数据
	public List<UserDmo> getUserList(){
		BaseDao<UserDmo> dao = new BaseDao<UserDmo>();
		UserDmo userDmo = new UserDmo();
		userDmo.setUsername("cc");
		return dao.selectList(userDmo);
	}
}
